package org.example.myleet.p917;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("dc-ba".equals(solution.reverseOnlyLetters("ab-cd")));
        Assert.isTrue("j-Ih-gfE-dCba".equals(solution.reverseOnlyLetters("a-bC-dEf-ghIj")));
        Assert.isTrue("Qedo1ct-eeLg=ntse-T!".equals(solution.reverseOnlyLetters("Test1ng-Leet=code-Q!")));
        Assert.isTrue("7_28]".equals(solution.reverseOnlyLetters("7_28]")));
        Assert.isTrue("?6E40C".equals(solution.reverseOnlyLetters("?6C40E")));
    }
}
